var i = require("../../../uv-ui-tools/libs/mixin/mpMixin.js"), e = require("../../../uv-ui-tools/libs/mixin/mixin.js"), t = require("./props.js"), s = require("../../../../common/vendor.js");

require("../../../uv-ui-tools/libs/function/index.js"), require("../../../uv-ui-tools/libs/function/test.js"), 
require("../../../uv-ui-tools/libs/function/digit.js"), require("../../../uv-ui-tools/libs/util/route.js"), 
require("../../../uv-ui-tools/libs/function/debounce.js"), require("../../../uv-ui-tools/libs/function/throttle.js");

var n = {
    name: "uv-checkbox-group",
    mixins: [ i.mpMixin, e.mixin, t.props ],
    computed: {
        parentData: function() {
            var i = [];
            return this.value.length ? i = this.value : this.modelValue.length && (i = this.modelValue), 
            [ i, this.disabled, this.inactiveColor, this.activeColor, this.size, this.labelDisabled, this.shape, this.iconSize, this.borderBottom, this.placement, this.labelSize, this.labelColor ];
        },
        bemClass: function() {
            return this.bem("checkbox-group", [ "placement" ]);
        }
    },
    watch: {
        parentData: function() {
            this.children.length && this.children.map(function(i) {
                "function" == typeof i.init && i.init();
            });
        }
    },
    data: function() {
        return {};
    },
    created: function() {
        this.children = [];
    },
    methods: {
        unCheckedOther: function(i) {
            var e = [];
            this.children.map(function(i) {
                i.isChecked && e.push(i.name);
            }), this.$emit("update:modelValue", e), this.$emit("change", e);
        }
    }
}, o = s._export_sfc(n, [ [ "render", function(i, e, t, n, o, u) {
    return {
        a: s.n(u.bemClass),
        b: s.s(i.$uv.addStyle(this.customStyle))
    };
} ], [ "__scopeId", "data-v-287a150a" ] ]);

wx.createComponent(o);